package com.google.code.lebar.bean.response.hotspot.transform;

import com.google.code.lebar.bean.common.Point3;

public class Transform implements Cloneable
{
    private Point3 translate;
    private Float scale;
    
    @Override
    public Transform clone()
    {
        Transform tClonedTransform = new Transform();
        tClonedTransform.setTranslate( getTranslate().clone() );
        tClonedTransform.setScale( getScale() );
        
        return tClonedTransform;
    }

    /**
     * @return the translate
     */
    public Point3 getTranslate()
    {
        return translate;
    }

    /**
     * @return the scale
     */
    public Float getScale()
    {
        return scale;
    }

    /**
     * @param translate
     *            the translate to set
     */
    public void setTranslate( Point3 translate )
    {
        this.translate = translate;
    }

    /**
     * @param scale
     *            the scale to set
     */
    public void setScale( Float scale )
    {
        this.scale = scale;
    }
}
